how to solve Analytic Function F(z) problem